//
//  YDVerticalStockButtonOptionView.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/27.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDVerticalStockButtonOptionView;



typedef NS_ENUM(NSUInteger, SYVerticalStockButtonOptionViewStyle) {
    SYVerticalStockButtonOptionViewStyle0,//0   //正常显示股票和期权交易
    SYVerticalStockButtonOptionViewStyle1,//1   //活动，显示发布和更换股票
    SYVerticalStockButtonOptionViewStyle2,//    //只显示股票交易按钮
    SYVerticalStockButtonOptionViewStyle3,      //只显示期权交易按钮
    
    
};

@protocol SYVerticalStockButtonOptionViewDelegate <NSObject>

@optional

/**
 点击按钮

 @param optionView 本身
 @param buttonTitle 标题
 */
- (void)verticalStockButtonOptionView:(YDVerticalStockButtonOptionView *)optionView withButtonTitle:(NSString *)buttonTitle;

@end

@interface YDVerticalStockButtonOptionView : UIView


@property (nonatomic , assign) SYVerticalStockButtonOptionViewStyle optionViewStyle;
/**
 构造器
 */
+(instancetype)verticalStockButtonOptionViewWithButtonOptionViewStyle:(SYVerticalStockButtonOptionViewStyle)optionViewStyle;


@property (nonatomic , weak)id<SYVerticalStockButtonOptionViewDelegate>delegate;

@end
